package com.example.snut_system.utils;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 666
 * Date: 2023-12-11
 * Time: 18:16
 */
public class StringUtil {
    /**
     * 字符串是否为空
     *
     * @param value 待验证的字符串
     * @return true 为空 false 不为空
     */
    public static boolean isEmpty(String value) {
        return value == null || value.length() == 0;
    }
}
